package RLK_SWT;


import org.eclipse.swt.graphics.Device;
import org.eclipse.swt.graphics.GC;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.ImageData;





public class Example {
    public void printImage(String filename, GC gc, int x, int y) {
        ImageData imageData = new ImageData(filename);
        Object display = null;
        Image image = new Image((Device) display, imageData);
        gc.drawImage(image, x, y);
    }

}
